package com.base.po.voip;

import java.util.Date;

/**
 * 分享有礼
 * 
 * @author K
 *
 */
public class Share {
    private String id;// id

    private String parentid;// 代理商id 

    private String text;// 文本

    private String sharepic;// 分享海报（后台不生成二维码）

    private Byte type;// 类型 1分享海报 2分享注册页图片 3分享下载页图片

    private Byte datastatus;// 状态

    private Date createtime;// 创建时间
    
    private Integer toleft;// （后台生成二维码）左边距

    private Integer totop;// （后台生成二维码）上边距

    private Integer qrcodesize;// （后台生成二维码）尺寸
    
    private String majortitle;// 分享链接主标题
    
    private String secondary;// 分享链接副标题
    
    private String pic;// 分享链接图片
    
    private String url;// 分享链接地址
    
    private String syntheticpic;// 分享海报（后台生成二维码）

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getSharepic() {
        return sharepic;
    }

    public void setSharepic(String sharepic) {
        this.sharepic = sharepic == null ? null : sharepic.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    
    public Integer getToleft() {
		return toleft;
	}

	public void setToleft(Integer toleft) {
		this.toleft = toleft;
	}

	public Integer getTotop() {
		return totop;
	}

	public void setTotop(Integer totop) {
		this.totop = totop;
	}

	public Integer getQrcodesize() {
        return qrcodesize;
    }

    public void setQrcodesize(Integer qrcodesize) {
        this.qrcodesize = qrcodesize;
    }
    
	public String getMajortitle() {
		return majortitle;
	}

	public void setMajortitle(String majortitle) {
		this.majortitle = majortitle;
	}

	public String getSecondary() {
		return secondary;
	}

	public void setSecondary(String secondary) {
		this.secondary = secondary;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSyntheticpic() {
		return syntheticpic;
	}

	public void setSyntheticpic(String syntheticpic) {
		this.syntheticpic = syntheticpic;
	}

	public Share() {
		super();
	}

	public Share(String parentid, Byte datastatus) {
		super();
		this.parentid = parentid;
		this.datastatus = datastatus;
	}
	
	public Share(String parentid, Byte type, Byte datastatus) {
		super();
		this.parentid = parentid;
		this.type = type;
		this.datastatus = datastatus;
	}

	public Share(String id, String parentid, String text, String sharepic, Byte type, Byte datastatus,
			Date createtime) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.text = text;
		this.sharepic = sharepic;
		this.type = type;
		this.datastatus = datastatus;
		this.createtime = createtime;
	}

	public Share(String id, String parentid, String text, String sharepic, Byte type, Byte datastatus, Date createtime,
			Integer toleft, Integer totop, Integer qrcodesize) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.text = text;
		this.sharepic = sharepic;
		this.type = type;
		this.datastatus = datastatus;
		this.createtime = createtime;
		this.toleft = toleft;
		this.totop = totop;
		this.qrcodesize = qrcodesize;
	}
}